FUNCTION

_evm_message_hash

function _evm_message_hash(message: text): byte_array

Given a message, a valid EVM signature will add some information to it prior to hashing it and cryptographically signing. This function returns the hash of the message as per the EVM signature specifications in EIP-191.

Parameters

  • message — the message to sign
© 2024 Chromia